package com.yejiali.backend.entity.dto;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author:yejiali
 * @Date:2025/6/5-06-05-18:40
 * @Decsription:com.yejiali.backend.entity.dto
 * @Version:1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HospitalDTO {
    //医院名
    @NotNull(message = "医院名不能为空")
    private String hospitalName;
    //医院等级
    @NotNull(message = "医院等级不能为空")
    private String hospitalGrade;
    //医院类型
    @NotNull(message = "医院类型不能为空")
    private String hospitalType;
    //医院地址
    @NotNull(message = "医院地址不能为空")
    private String address;
    //联系人
    @NotNull(message = "联系人不能为空")
    private String contactPerson;
    //联系电话
    @NotNull(message = "联系电话不能为空")
    private String contactPhone;
    //营业状态
    private String status;
    //创建时间
    private Date createdAt;
    //修改时间
    private Date updatedAt;
}
